@include b(slider) {
  position: relative;
  width: 100%;
  height: $slider-line-height;
  margin: $slider-handle-size/2 0;
  padding: 0 $slider-handle-size/2;

  @include e(line) {
    flex: 1;
    height: $slider-line-height;
    background-color: $slider-line-background;

    &-bg {
      height: 100%;
      background-color: $theme-primary;
    }
  }

  @include e(handle) {
    position: absolute;
    left: 0;
    top: -$slider-handle-size/2;
    width: $slider-handle-size;
    height: $slider-handle-size;
    border-radius: 50%;
    background-color: $slider-handle-background;
    box-shadow: $slider-handle-shadow;

    &-shadow {
      width: $slider-handle-size;
      height: $slider-handle-size;
    }
  }

  @include m(disabled) {
    cursor: not-allowed;
    opacity: $disabled-opacity;
  }
}
